<%@taglib uri="/struts-tags" prefix="s" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <s:include value="Commun/EnTete.jsp"/>

    <body>

        <s:include value="Commun/MenuAlumni.jsp"/>

        <s:div cssClass="main">
            <s:div cssClass="container">
                <s:div cssClass="row">
                    <s:div cssClass="span8">      		
                        <s:div cssClass="widget stacked ">
                            <s:div cssClass="widget-header">
                                <i class="icon-user"></i>
                                <h3><s:property value="#session.prenom"/> <s:property value="#session.nom"/></h3>
                            </s:div>

                            <s:div cssClass="widget-content">
                                <s:div cssClass="tabbable">
                                    <ul class="nav nav-tabs">
                                        <li >
                                            <s:a href="#profile" data-toggle="tab"><s:text name="onglet.profil"></s:text></s:a>
                                                </li>
                                                <li><s:a href="#settings" data-toggle="tab"><s:text name="onglet.experiencePro"></s:text></s:a></li>
                                        <li class="active"><s:a href="#etudes" data-toggle="tab"><s:text name="onglet.etudes"></s:text></s:a></li>
                                            </ul>
                                            <br>
                                    <s:div cssClass="tab-content">
                                        <s:div cssClass="tab-pane " id="profile">
                                            <s:div cssClass="control-group">											
                                                <label class="" for="sexePersonne"><strong><s:text name="label.sexe"></s:text> : <s:property value="#session.sexe"/></strong> </label>                    
                                            </s:div> 

                                            <s:div cssClass="control-group">											
                                                <label class="control-label" for="courrielInscrit"><strong><s:text name="label.mail"></s:text> : <s:property value="#session.courrielInscrit"/></strong></label>    

                                            </s:div> 


                                            <s:div cssClass="control-group">											
                                                <label class="control-label" for="prenomPersonne"><strong><s:text name="label.prenom"></s:text> : <s:property value="#session.prenom"/></strong></label>

                                            </s:div> 

                                            <s:div cssClass="control-group">											
                                                <label class="control-label" for="nomPersonne"><strong><s:text name="label.nom"></s:text> : <s:property value="#session.nom"/></strong></label>

                                            </s:div> 

                                            <s:div cssClass="control-group">											
                                                <label class="control-label" for="dateNaissancePersonne"><strong><s:text name="label.naissance"></s:text> : <s:property value="#session.dateNaissance"/></strong></label>				
                                            </s:div> 

                                            <s:div cssClass="control-group">											
                                                <label class="control-label" for="villePersonne"><strong><s:text name="label.ville"></s:text> : <s:property value="#session.ville"/></strong></label>

                                            </s:div> 

                                            <s:div cssClass="control-group">											
                                                <label class="control-label" for="telPersonne"><strong><s:text name="label.tel"></s:text> <s:property value="#session.telephone"/></strong></label>
                                            </s:div> 



                                        </s:div>


                                        <s:include value="Commun/OngletExpAlumni.jsp"/>

                                        <s:div cssClass="tab-pane active" id="etudes">
                                            <s:form action="insererEtude" method="post" validate="true">
                                                <fieldset>
                                                    <s:div cssClass="login-fields">
                                                        <p><s:text name="label.renseignerChamps"></s:text> </p>
                                                        <input type="hidden" id="idPersonne"name="idPersonne" value="<s:property value="#session.idPersonne"/>">
                                                        <s:div cssClass="field">
                                                            <label for="diplome"><s:text name="label.diplome"></s:text></label>
                                                            <input type="text" id="diplome" name="diplome" value="" placeholder="<s:text name="label.diplome"/>" class="login username-field" />
                                                            <s:fielderror fieldName="diplome" />
                                                        </s:div>
                                                        <s:div cssClass="field">
                                                            <label for="anneeDebut"><s:text name="label.anneeDebut"></s:text></label>
                                                            <input type="text" id="anneeDebut" name="anneeDebut" value="" placeholder="<s:text name="label.anneeDebut"/>" class="login username-field" />
                                                            <s:fielderror fieldName="anneeDebut" />
                                                        </s:div>
                                                        <s:div cssClass="field">
                                                            <label for="anneeFin"><s:text name="label.anneeFin"></s:text></label>
                                                            <input type="text" id="anneeFin" name="anneeFin" value="" placeholder="<s:text name="label.anneeFin"/>" class="login username-field" />
                                                            <s:fielderror fieldName="anneeFin" />
                                                        </s:div>

                                                        <s:div cssClass="field">
                                                            <p><s:text name="label.universite"/></p>
                                                            <label for="universite"><s:text name="label.universite"></s:text></label>
                                                                <select name="nomUniversite" id="nomUniversite" >
                                                                <s:iterator value="#session.listeUniversite">
                                                                    <option> <s:property value="nomUniversite"/></option>
                                                                </s:iterator>
                                                            </select>
                                                        </s:div>   
                                                        <p><s:text name="label.ajoutUniversite"></s:text>
                                                            <a href="ajoutUniversite.jsp" cssClass="button btn btn-large"><s:text name="label.ajouterUniversite"></s:text></a>
                                                            </p>
                                                    </s:div> 
                                                    <s:div cssClass="form-actions">
                                                        <button type="submit" class="btn btn-primary"><s:text name="bouton.ajouter"></s:text></button>
                                                        <a class="btn"  href="<s:url action="AccueilAlumni"/>"><s:text name="bouton.annuler"></s:text></a>

                                                    </s:div>
                                                </fieldset>
                                            </s:form>
                                        </s:div> 
                                    </s:div>             
                                </s:div>
                            </s:div>
                        </s:div>
                    </s:div> 



                    <s:include value="Commun/ListeArticlesAlumni.jsp"/>
                </s:div> 
            </s:div>
        </s:div> 
        <s:include value="Commun/Footer.jsp"/> 
    </body>
</html>
